From 6870a4e85c4944b8de4874d98619de66fd775b61 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 20 Jan 2023 10:11:01 +0100 Subject: [PATCH] [PATCH] [libomp] Explicitly include header (NFC) This is required to build against libstdc++ 13. Debug.h uses std::stoi() from without explicitly including it. Gbp-Pq: Name gcc-13-build-fix.patch --- flang/include/flang/Parser/characters.h | 1 + openmp/libomptarget/include/Debug.h | 1 + 2 files changed, 2 insertions(+) diff --git a/flang/include/flang/Parser/characters.h b/flang/include/flang/Parser/characters.h index 120560625d..6caf77d919 100644 --- a/flang/include/flang/Parser/characters.h +++ b/flang/include/flang/Parser/characters.h @@ -14,6 +14,7 @@ // also to accomodate Fortran tokenization. #include +#include #include #include diff --git a/openmp/libomptarget/include/Debug.h b/openmp/libomptarget/include/Debug.h index 942f39fe9c..85cccf79d9 100644 --- a/openmp/libomptarget/include/Debug.h +++ b/openmp/libomptarget/include/Debug.h @@ -39,6 +39,7 @@ #include #include +#include /// 32-Bit field data attributes controlling information presented to the user. enum OpenMPInfoType : uint32_t { -- 2.30.2